package com.mine.education.course.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 课程评分表
 * 
 * @author xiaolin
 * @email xiaolin@gmail.com
 * @date 2020-10-18 15:58:35
 */
@Data
@TableName("ces_evaluate")
public class EvaluateEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 课程评分id
	 */
	@TableId
	private Long id;
	/**
	 * 课程id
	 */
	private Long courseId;
	/**
	 * 会员id
	 */
	private Long memberId;
	/**
	 * 评分
	 */
	private BigDecimal grade;
	/**
	 * 评价内容
	 */
	private String content;
	/**
	 * 评价原因【1、内容实用；2、简洁易懂；等等】
	 */
	private Integer reason;
	/**
	 * 点赞数
	 */
	private Integer likes;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date modifyTime;

}
